package com.jt.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController("/")
public class HelloController {
    /**
     * 用户通过/hello的路径获取有好的提示信息
     */
    @RequestMapping("/hello")
    public String hello(){
        return "第四阶段第一天，加油。";
    }
}
